package com.chixing.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.time.LocalDate;
import java.time.LocalDateTime;

/**
 * <p>
 * 
 * </p>
 *
 * @author smith
 * @since 2025-09-30
 */
@TableName("room_inventory")
public class RoomInventory implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "inv_id", type = IdType.AUTO)
    private Long invId;

    private LocalDate invDate;

    private Long hotelId;

    private Long roomtypeId;

    private Integer totalCount;

    private Integer bookedCount;

    private Integer lockedCount;

    private LocalDateTime updateAt;

    public Long getInvId() {
        return invId;
    }

    public void setInvId(Long invId) {
        this.invId = invId;
    }
    public LocalDate getInvDate() {
        return invDate;
    }

    public void setInvDate(LocalDate invDate) {
        this.invDate = invDate;
    }
    public Long getHotelId() {
        return hotelId;
    }

    public void setHotelId(Long hotelId) {
        this.hotelId = hotelId;
    }
    public Long getRoomtypeId() {
        return roomtypeId;
    }

    public void setRoomtypeId(Long roomtypeId) {
        this.roomtypeId = roomtypeId;
    }
    public Integer getTotalCount() {
        return totalCount;
    }

    public void setTotalCount(Integer totalCount) {
        this.totalCount = totalCount;
    }
    public Integer getBookedCount() {
        return bookedCount;
    }

    public void setBookedCount(Integer bookedCount) {
        this.bookedCount = bookedCount;
    }
    public Integer getLockedCount() {
        return lockedCount;
    }

    public void setLockedCount(Integer lockedCount) {
        this.lockedCount = lockedCount;
    }
    public LocalDateTime getUpdateAt() {
        return updateAt;
    }

    public void setUpdateAt(LocalDateTime updateAt) {
        this.updateAt = updateAt;
    }

    @Override
    public String toString() {
        return "RoomInventory{" +
            "invId=" + invId +
            ", invDate=" + invDate +
            ", hotelId=" + hotelId +
            ", roomtypeId=" + roomtypeId +
            ", totalCount=" + totalCount +
            ", bookedCount=" + bookedCount +
            ", lockedCount=" + lockedCount +
            ", updateAt=" + updateAt +
        "}";
    }
}
